<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
  <title>PET BONE - 宠物湿粮老用户回馈</title>
  <link rel="icon" href="/favicon.ico">
  <!-- Vue Luck Draw 转盘组件 -->
  <script src="https://cdn.jsdelivr.net/npm/vue-luck-draw@3.4.6/vue3/vue-luck-draw.umd.min.js"></script>
  <style>
    /* 防止页面闪烁 */
    body {
      margin: 0;
      padding: 0;
      background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    }
    
    #app {
      width: 100%;
      min-height: 100vh;
    }
    
    /* 加载动画 */
    .loading {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      z-index: 9999;
    }
    
    .loading-spinner {
      width: 40px;
      height: 40px;
      border: 4px solid #FFE082;
      border-top: 4px solid #FFB800;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin: 0 auto 16px;
    }
    
    .loading-text {
      color: #FFB800;
      font-size: 14px;
      font-weight: bold;
    }
    
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
  </style>
</head>
<body>
  <div id="app">
    <!-- 加载动画 -->
    <div class="loading">
      <div class="loading-spinner"></div>
      <div class="loading-text">PET BONE 加载中...</div>
    </div>
  </div>
  
  <script type="module" src="/main.js"></script>
</body>
</html>